package com.hxzy.controller.vue.mapstruct;

import com.hxzy.controller.vue.merchandiser.req.MerchandiserUpdateReq;
import com.hxzy.controller.vue.merchandiser.resp.MerchandiserResp;
import com.hxzy.entity.Merchandiser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/9/14 14:05
 * @Version 1.0
 */
@Mapper
public interface MerchandiserConvert {
    MerchandiserConvert INSTANCE= Mappers.getMapper(MerchandiserConvert.class);

    MerchandiserResp convert(Merchandiser entity);

    Merchandiser convert(MerchandiserUpdateReq req);
}
